#include <iostream>
#include "vec4.h"

using namespace std;

int main() {
	vec4 a = { 1,2,3,4 };
	double dou4[] = {0.1, 0.2, 0.3, 0.4};
	double* dou4PTR = dou4;
	vec4 b = dou4PTR;
	vec4 c = a;
	cout << a << endl << b << endl << c << endl;
	a[0] = 666.666;
	cout << a[0] << a[1] << a[2] << a[3] << endl;
	cout << "---------------\n";
	a += b;
	c = a + b;
	cout << a << endl <<c<<endl;
	c *= 2;
	cout << c;
	return 0;
}